<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich">

<ui:composition template="#{webGlobal.url_template}/default/main.xhtml">
	<ui:define name="head">
		<link href="#{webGlobal.url_module}/team/r/css/main.css" rel="stylesheet" />
	</ui:define>
	
	<ui:define name="content">
		<div class="main-container" style="margin: 0 auto;">
			<div class="inner-container" style="margin: 0 auto;">
				<div class="container well" style="margin: 200px auto; width: 800px;">
				    <h:form prependId="false" styleClass="form-horizontal" role="form">
					   	<div class="form-group">
					    	<label class="col-sm-4 control-label">Choix des tournois</label>
					    	<div class="col-xs-7">
					    		<h:selectOneMenu value="#{choiceTournament.tournamentSelected}" converter="tournamentConverter" styleClass="form-control">
					    			<f:selectItems value="#{choiceTournament.listTournament}"></f:selectItems>
					    		</h:selectOneMenu>
					    	</div>
					    </div>
					    <div class="form-group">
					    	<h:commandButton value="Enregistrer" action="#{choiceTournament.goToDetailTournament()}" styleClass="btn btn-primary btn-lg btn-block btn-success"/>
					    	<h:outputLink value="#{webGlobal.url_module}/index/index.jsf" 
				    			styleClass="btn btn-lg btn-primary btn-block">Retour à l'accueil</h:outputLink>
					    </div>
					</h:form>
			    </div>
		    </div>
		</div>
 	</ui:define>
</ui:composition>
</html>